package semana1.estructurasDeControl.ej07;

import java.util.Random;

public class Ej07 {

	/**
	 * @param args
	 */
	public static void main(String[] args) {

		Random r = new Random();
		int n1 = r.nextInt(20) + 1;
		int n2 = r.nextInt(20) + 1;
		System.out.println(n1);
		System.out.println(n2);

		if (n1 > n2) {
			System.out.println("El mayor es " + n1);
		} else {
			System.out.println("El mayor es " + n2);
		}

	}

}
